import { View } from '@tarojs/components'
import './StatusLabel.scss'
import { approveStatusList } from '../../constant'

const StatusLabel = ({value}) => {
  return (
    <View className='status-label' style={{color:approveStatusList[value].color}}>
      {approveStatusList[value].label}
    </View>
  )
};

export default StatusLabel
